package com.chat.service;

import com.chat.Local;
import com.chat.common.Group;
import com.chat.common.Message;
import com.chat.common.MessageType;

/*
  获取群的详细信息
 */
public class GetGroupMessage {
    public void getgroupmessage(String groupid){
        Message msg=new Message();
        Group group=new Group();
        group.setId(groupid);
        msg.setData(group);
        msg.setMesType(MessageType.MESSAGE_GET_GROUP_MSG);
        ClientConnectServerThread clientConnectServerThread=ManageClientConnectServerThread.getClientConnectServerThread(Local.user.getUsername());
        clientConnectServerThread.send(msg);
    }

}
